package com.msw.axon.repository;

import com.msw.axon.model.Employee;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Created by minshiwu on 2017/2/18.
 */
public interface EmployeeReposity extends JpaRepository<Employee, Long> {

    Employee findByName(String name);

    void deleteByName(String name);
}
